/*
 * Diego da Rocha Borges
 * Otávio Zabaleta
 */

#include "symbol_table.h"

#ifndef GLOBAL_H
#define	GLOBAL_H

extern char* remove_quotes(char* lexeme);

/**
 * Function called by main function to do all needed initialization.
 */
extern void initMe(void);

/**
 * Function that returns the number of processed lines (It is in the specification).
 * @Return the number of processed lines.
 */
extern int getLineNumber(void);

/* This extern definition will be initialized in the main function */

/**
 * Flag to indicate when the processing lex input is done
 */
extern int running;

/**
 * Instance of the Symbol Table.
 * <p>
 * This table must be initialized before used.
 * </p>
 */
extern symbol_table* table;

#endif	/* GLOBAL_H */

